* Encoding: UTF-8.
******************************************************************************************************************
******************************************************************************************************************
HILLARY HYPOTHESIS - PRINCIPAL COMPONENT ANALYSIS
Last updated: Thursday October 2018
To be used on ANES 2016 Time Series Data (Latest Release: 19 December 2017)
Please ensure to use on dataset with variable transformation applied. 
******************************************************************************************************************
******************************************************************************************************************

******************************************************************************************************************
/// SELECT VOTERS ONLY
******************************************************************************************************************

USE ALL.
COMPUTE filter_$=(Turnout16USA=1).
VARIABLE LABELS filter_$ 'Turnout16USA=1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.


******************************************************************************************************************
/// PRINCIPAL COMPONENT ANALYSIS: IMMIGRATION
******************************************************************************************************************

FACTOR
  /VARIABLES ImmigrationEcoGood2 ImmigrationCultureHarm1 ImmigrationCrimeRates1
  /MISSING LISTWISE 
  /ANALYSIS ImmigrationEcoGood2 ImmigrationCultureHarm1 ImmigrationCrimeRates1
  /PRINT INITIAL CORRELATION SIG KMO EXTRACTION ROTATION
  /CRITERIA MINEIGEN(1) ITERATE(25)
  /EXTRACTION PC
  /CRITERIA ITERATE(25)
  /ROTATION VARIMAX
  /METHOD=CORRELATION.


*>>> RELIABILITY ANALYSIS - CRONBACH ALPHA

RELIABILITY
  /VARIABLES=ImmigrationEcoGood2 ImmigrationCultureHarm1 ImmigrationCrimeRates1.
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


RELIABILITY
  /VARIABLES=ImmigrationEcoGood2 ImmigrationCultureHarm1 
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


RELIABILITY
  /VARIABLES=ImmigrationEcoGood2 ImmigrationCrimeRates1 
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


RELIABILITY
  /VARIABLES=ImmigrationCultureHarm1 ImmigrationCrimeRates1 
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


******************************************************************************************************************
/// PRINCIPAL COMPONENT ANALYSIS: RACE - STEREOTYPES BLACKS
******************************************************************************************************************


FACTOR
  /VARIABLES Race_BlackStereo_Lazy Race_BlackStereo_Violent
  /MISSING LISTWISE 
  /ANALYSIS Race_BlackStereo_Lazy Race_BlackStereo_Violent
  /PRINT INITIAL CORRELATION SIG KMO EXTRACTION ROTATION
  /CRITERIA MINEIGEN(1) ITERATE(25)
  /EXTRACTION PC
  /CRITERIA ITERATE(25)
  /ROTATION VARIMAX
  /METHOD=CORRELATION.


*>>> RELIABILITY ANALYSIS - CRONBACH ALPHA

RELIABILITY
  /VARIABLES=Race_BlackStereo_Lazy Race_BlackStereo_Violent
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


******************************************************************************************************************
/// PRINCIPAL COMPONENT ANALYSIS: RACE - STEREOTYPES HISPANICS
******************************************************************************************************************

FACTOR
  /VARIABLES Race_HispStereo_Lazy Race_HispStereo_Violent
  /MISSING LISTWISE 
  /ANALYSIS Race_HispStereo_Lazy Race_HispStereo_Violent
  /PRINT INITIAL CORRELATION SIG KMO EXTRACTION ROTATION
  /CRITERIA MINEIGEN(1) ITERATE(25)
  /EXTRACTION PC
  /CRITERIA ITERATE(25)
  /ROTATION VARIMAX
  /METHOD=CORRELATION.


*>>> RELIABILITY ANALYSIS - CRONBACH ALPHA

RELIABILITY
  /VARIABLES=Race_HispStereo_Lazy Race_HispStereo_Violent
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.


******************************************************************************************************************
/// PRINCIPAL COMPONENT ANALYSIS: GENDER - WOMENS PLACE IN SOCIETY 
******************************************************************************************************************

FACTOR
  /VARIABLES Gender_ManWorksWomenHome Gender_WorkingMotherBond
  /MISSING LISTWISE 
  /ANALYSIS Gender_ManWorksWomenHome Gender_WorkingMotherBond
  /PRINT INITIAL CORRELATION SIG KMO EXTRACTION ROTATION
  /CRITERIA MINEIGEN(1) ITERATE(25)
  /EXTRACTION PC
  /CRITERIA ITERATE(25)
  /ROTATION VARIMAX
  /METHOD=CORRELATION.



*>>> RELIABILITY ANALYSIS - CRONBACH ALPHA

RELIABILITY
  /VARIABLES=Gender_ManWorksWomenHome Gender_WorkingMotherBond
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.



******************************************************************************************************************
/// PRINCIPAL COMPONENT ANALYSIS: GENDER - SEXISM
******************************************************************************************************************

FACTOR
  /VARIABLES Gender_WomenfailtoappreciateMen Gender_WomenpoweroverMen
  /MISSING LISTWISE 
  /ANALYSIS Gender_WomenfailtoappreciateMen Gender_WomenpoweroverMen
  /PRINT INITIAL CORRELATION SIG KMO EXTRACTION ROTATION
  /CRITERIA MINEIGEN(1) ITERATE(25)
  /EXTRACTION PC
  /CRITERIA ITERATE(25)
  /ROTATION VARIMAX
  /METHOD=CORRELATION.



*>>> RELIABILITY ANALYSIS - CRONBACH ALPHA

RELIABILITY
  /VARIABLES=Gender_WomenfailtoappreciateMen Gender_WomenpoweroverMen
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE CORR
  /SUMMARY=TOTAL.